package com.hcb.micro.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hcb.micro.dao.interfaceClass.ProductPriceLogMapper;
import com.hcb.micro.dto.ProductPriceLog;
import com.hcb.micro.service.IProductPriceLogService;

@Service("ProductPriceLogService")
public class ProductPriceLogServiceImpl implements IProductPriceLogService {

	@Autowired
	ProductPriceLogMapper pplm;
	
	@Override
	public int deleteByPrimaryKey(Integer id) {
		return pplm.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(ProductPriceLog record) {
		return pplm.insert(record);
	}

	@Override
	public int insertSelective(ProductPriceLog record) {
		return pplm.insertSelective(record);
	}

	@Override
	public ProductPriceLog selectByPrimaryKey(Integer id) {
		return pplm.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(ProductPriceLog record) {
		return pplm.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(ProductPriceLog record) {
		return pplm.updateByPrimaryKey(record);
	}

}
